package com.liuxin.zhiyuan.shujuzhongxin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liuxin.common.utils.PageUtils;
import com.liuxin.zhiyuan.shujuzhongxin.domain.po.HistoricalAdmissionScoreEntity;

import java.util.List;
import java.util.Map;

/**
 * 院校专业招生信息表
 *
 * @author zsl
 * @email 1301966496@qq.com
 * @date 2025-11-08 22:16:26
 */
public interface HistoricalAdmissionScoreService extends IService<HistoricalAdmissionScoreEntity> {

    PageUtils queryPage(Map<String, Object> params);
    /**
     * 根据学校ID和专业查询历史录取分数
     */
    List<HistoricalAdmissionScoreEntity> findBySchoolIdAndPro(Integer schoolId, String pro,String nature);
     /**
     * 根据学校ID和专业查询专业组平均位次
     */
    Integer findSchoolCodeAverageRank(Integer schoolId, String schoolCode,String nature);
}

